<#456#>SYNOPSIS:
\multiputlist(x,y)(Δx,Δy)[tbrl]16
{<#48#>item1<#48#>,<#49#>item2<#49#>,<#50#>item3<#50#>,...,<#51#>itemN<#51#>}<#456#>
This command is a variation of the regular LATEX command 12.
The 13 command permits one to put the <#52#>same<#52#> object
at regularly spaced coordinates. Often one wishes to put <#53#>different<#53#>
objects at coordinates that have regular increments -- 14
command can be used in those cases. This command enables one to specify a
collection of objects with a single command thus simplifying the task of
calculating coordinates. All those objects may also be plotted separately
using 15 commands, but any future revision of those coordinates
may involve lot of manual work. This command also encourages certain
regularity and symmetry in laying out various objects in a picture.
In the 16, as the coordinates are incremented, the objects
to be put are picked up from the <#54#>list of items<#54#>,
i.e., first item in first position, second item in second position, and so on.
For example, numbers along the X-axis in a graph may be plotted by simply
specifying:
17
This is almost equivalent to the sequence:
verbatim63#
The difference is that each <#60#>item<#60#> is put in a
18 kind of construction which
allows the specification of
the reference point of the box containing the item. The 19
is optional and its absence makes the item centered at the specified
coordinate. Note that 20 command does not have such an option.
The objects in the <#61#>list<#61#> can be virtually anything including any
21, 22, math characters, etc. This command can be
usefully employed in a situation where a variety of objects are
to be put at coordinates that have a regular increment along the x-axis and
the y-axis.
Few comments about 23 command:
- Individual items have to be grouped in 24 if they contain ``,''s.
- In the list of items, blanks are not ignored (of course, consecutive
blanks are coalesced into one, as always). For a list of items longer than a
line of input, put a at the end in order to nullify the newline if a
blank is not intended to be a part of the item.
- Specifying individual items in a list format provides a powerful
mechanism for specifying a variety of objects in a single command.
Moreover, often real numbers need to be plotted and
it is nontrivial to generate real numbers or otherwise
handle them in TEX; they need to be explicitly specified as <#63#>objects<#63#> in
the desired format.
The 25 command somewhat simplifies such a task.
- The implementation of 26 uses two macros derived from
the ones given in the TEXbook, namely, 27 and 28 for
list-manipulation.